import request from '@/https/request'

export const loginPost = (params) => {
    return request({
        url: `/api/get_comments`,
        method: 'get',
        params
    });
};

export const getInitialData = () => {
    return request({
        url: `/api/initial_data`,
        method: 'get',
    });
};

export const updateSchedule = (data) => {
    return request({
        url: `/api/update_schedule`,
        method: 'post',
        data
    });
};

export const removeSchedule = (data) => {
    return request({
        url: `/api/remove_schedule`,
        method: 'post',
        data
    });
};